/**
 * @Description: 弹窗
 * @author bev
 * @date 2019/10/10
 * @time 14:40
 */

export const Toast = ({
  title,
  icon = "none",
  duration = 1500,
  success = () => {}
}) => {
  return uni.showToast({
    title,
    icon,
    duration,
    success,
    mask: true
  });
};
